﻿@using Nightlife.Models
@model List<Checkin>
@{
    ViewBag.Title = "Nightlife";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>
            <p>
                To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">
                    http://asp.net/mvc</a>. The page features <mark>videos, tutorials,
                        and samples</mark> to help you get the most from ASP.NET MVC. If you have
                any questions about ASP.NET MVC visit <a href="http://forums.asp.net/1146.aspx/1?MVC"
                    title="ASP.NET MVC Forum">our forums</a>.
            </p>
        </div>
    </section>
}

@section scripts {
<script type="text/javascript">
    $('#FeedList').click(function () {
        // Fetch the feed from the server
    });
</script>
}

@if (Membership.GetUser() != null)
{
<h3>Whats going on with your favorite places and people:</h3>
<ul class="round" id="FeedList">
@Html.Partial("~/Views/Home/Feed.cshtml", Model)
</ul>
}
